﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IPartOperate
    {
        //查询所有
        public List<Part> GetAllPartList();
        public Part GetPartById(string id);
        public List<Part> GetPartByIdList(List<string> ids);
        public void AddPart(Part entity);
        public void UpdatePart(Part model);
        public void DeletePart(Part entity);
        public void BatchDelPart(List<Part> entity);
    }
}
